package com.jmazgaj.satel.command;

import com.jmazgaj.satel.SatelCommand;
import com.jmazgaj.satel.utils.ArrayUtils;

public class ZonesViolationCommand extends SatelCommand<boolean[]> {

	@Override
	protected int getActionCode() {		
		return 0;
	}

	@Override
	protected byte[] getRequestData() {		
		return new byte[0];
	}

	@Override
	protected int getResponseDataLength() {
		return 16;
	}
	
	@Override
	protected boolean[] processResponse(byte [] response) {
		return ArrayUtils.toBooleanArray(response);
	}
}
